package com.wwj.web.service.impl;

import com.wwj.web.domain.ShiroUser;
import com.wwj.web.mapper.ShiroUserMapper;
import com.wwj.web.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    ShiroUserMapper userMapper;

    @Override
    public ShiroUser getShiroUserByUserName(String username) {
        ShiroUser shiroUserByUserName = userMapper.getShiroUserByUserName(username);
        return shiroUserByUserName;
    }
}
